home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Source Code / Visual Basic Source Code.iso / vbsource / seclau / launch_f.frm (.txt) < prev    next >
Encoding:
Visual Basic Form  |  1995-05-08  |  3.1 KB  |  101 lines

  1. VERSION 2.00
  2. Begin Form Launch_Form 
  3.    Caption         =   "Security Launcher"
  4.    ClientHeight    =   4875
  5.    ClientLeft      =   1950
  6.    ClientTop       =   1590
  7.    ClientWidth     =   4590
  8.    ControlBox      =   0   'False
  9.    Height          =   5280
  10.    Icon            =   LAUNCH_F.FRX:0000
  11.    Left            =   1890
  12.    LinkTopic       =   "Form1"
  13.    MaxButton       =   0   'False
  14.    MinButton       =   0   'False
  15.    Picture         =   LAUNCH_F.FRX:0302
  16.    ScaleHeight     =   4875
  17.    ScaleWidth      =   4590
  18.    Top             =   1245
  19.    Width           =   4710
  20.    Begin ListBox Password 
  21.       Height          =   225
  22.       Left            =   0
  23.       TabIndex        =   5
  24.       Top             =   4560
  25.       Visible         =   0   'False
  26.       Width           =   1335
  27.    End
  28.    Begin ListBox Program 
  29.       Height          =   225
  30.       Left            =   0
  31.       TabIndex        =   4
  32.       Top             =   0
  33.       Visible         =   0   'False
  34.       Width           =   1335
  35.    End
  36.    Begin CommandButton Exit 
  37.       Caption         =   "Exit"
  38.       Height          =   375
  39.       Left            =   2040
  40.       TabIndex        =   3
  41.       Top             =   4200
  42.       Width           =   2295
  43.    End
  44.    Begin CommandButton Maintenance 
  45.       Caption         =   "Maintenance"
  46.       Height          =   375
  47.       Left            =   2040
  48.       TabIndex        =   2
  49.       Top             =   3600
  50.       Width           =   2295
  51.    End
  52.    Begin CommandButton Launch 
  53.       Caption         =   "Launch"
  54.       Height          =   375
  55.       Left            =   2040
  56.       TabIndex        =   1
  57.       Top             =   3000
  58.       Width           =   2295
  59.    End
  60.    Begin ListBox ProgList 
  61.       Height          =   2760
  62.       Left            =   2040
  63.       TabIndex        =   0
  64.       Top             =   120
  65.       Width           =   2295
  66.    End
  67. Sub Exit_Click ()
  68.     Call SaveINI
  69.     End
  70. End Sub
  71. Sub Launch_Click ()
  72.     If Launch_Form.ProgList.ListIndex < 0 Then
  73.         MsgBox "No program selected", 0, "Launch"
  74.         Exit Sub
  75.         End If
  76.     PassForm.Caption = "Password for " + Launch_Form.ProgList.Text
  77.     Launch_Form.Program.ListIndex = Launch_Form.ProgList.ListIndex
  78.     Launch_Form.Password.ListIndex = Launch_Form.ProgList.ListIndex
  79.     ProgramName = Launch_Form.Program.Text
  80.     ProgramPassword = Launch_Form.Password.Text
  81.     Launch_Form.Visible = False
  82.     PassForm.Visible = True
  83. End Sub
  84. Sub Maintenance_Click ()
  85.     PassForm.Caption = "Master Password"
  86.     PassForm.Visible = True
  87. End Sub
  88. Sub ProgList_DblClick ()
  89.     If Launch_Form.ProgList.ListIndex < 0 Then
  90.         MsgBox "No program selected"
  91.         Exit Sub
  92.         End If
  93.     PassForm.Caption = "Password for " + Launch_Form.ProgList.Text
  94.     Launch_Form.Program.ListIndex = Launch_Form.ProgList.ListIndex
  95.     Launch_Form.Password.ListIndex = Launch_Form.ProgList.ListIndex
  96.     ProgramName = Launch_Form.Program.Text
  97.     ProgramPassword = Launch_Form.Password.Text
  98.     Launch_Form.Visible = False
  99.     PassForm.Visible = True
  100. End Sub
  101.